package org.suk.dp.adapter;

/**
 * Description: <br/>
 *
 * @version V1.0  2017/6/21 11:57  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class Translator extends Player {
    private ForeignCenter foreignCenter = new ForeignCenter();
    public Translator(String name) {
        super(name);
        this.foreignCenter.setName(name);
    }

    @Override
    void attach() {
        this.foreignCenter.进攻();
    }

    @Override
    void defense() {
        this.foreignCenter.防守();
    }
}
